a=input()
b=eval(a)
total=sum(b.values())
print(total，end="")
